package com.unit.test.ordersystem.group;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;

import javax.validation.Valid;

/**
 * @Author: sijunqiang
 * @Date: 2020/5/10 14:30
 * @Description:
 */
@FeignClient(name = "group-feign", url = "http://localhost:8080/v1.0/workOrder/group")
public interface GroupFeign {


    /**
     * 查询群组列表
     */
    @GetMapping(value = "/queryGroupList", consumes = MediaType.APPLICATION_JSON_VALUE)
    String queryGroupList();


}
